#include"stdio.h"
void inplace_swap(int *x,int *y)
{
   *y=*x^*y;
   *x=*x^*y;
   *y=*x^*y;
}
void array(int a[],int cnt)
{
   int last,first;
   for(first=0,last=cnt-1;first<last;first++,last--)
  inplace_swap(&a[first],&a[last]);
}
int main()
{
 int a[20];
int i;
 printf( "please input 5  numbers:\n");
for(i=0;i<5;i++)
 scanf("%d",&a[i]);
array(a,5);
for(i=0;i<5;i++)
printf("%d\t",a[i]);
return 0;
}
    show_byts((byte_pointer)&ux,sizeof(unsigned));
}
     
